// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import '@/assets/icons' // icon

import Filter from './utils/global'
import Directives from './directives/global'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/css/theme/index.css'
import '@/assets/css/index.scss' // global css
import '@/utils/permission'

Vue.use(ElementUI, { size: 'mini' })
Vue.use(Directives)
Vue.use(Filter)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})
